package com.hk.service;

import com.hk.dao.ServerInfoRepository;
import com.hk.model.ServerInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ServerInfoServiceImpl {

    @Autowired
    private ServerInfoRepository serverInfoRepository;

    public List<ServerInfo> findAllServerInfo() {
        return  serverInfoRepository.findAll();
    }
}
